package com.panshi.mapper;


import com.panshi.vo.AnswerVO;
import com.panshi.vo.PageSizeVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface AnswerMapper {
    //删除回答
    void deleteAns (@Param("answer_id") int answer_id);//删除回答表
    //查询回答
    List<AnswerVO> findAnsQuery(PageSizeVO pageSizeVO);

    List<AnswerVO> findAssQuery(PageSizeVO pageSizeVO);

    //删除未审核表 修改状态
    void updateanswerNo(@Param("aaid") int aaid);

    Integer queryanswercount(@Param("uid") int uid);

    Integer queryanswernocount(@Param("uid") int uid);

}
